filechooserbutton: Restore to an empty previous selection properly
authorFederico Mena Quintero <federico@gnome.org>
Wed, 13 Feb 2013 17:01:50 +0000 (11:01 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Thu, 14 Feb 2013 00:01:39 +0000 (18:01 -0600)
commitcf921c353b074a5ba17a1b823e7ac673c1226735
tree96e07e3cac30bb4bec8dee9319aff015719ef6e9
parente65cf0b70d64ac600078f51932469ab8672c67d7
filechooserbutton: Restore to an empty previous selection properly

If no file was originally selected in the GtkFileChooserButton, then its
internal dialog is brought up and cancelled, then we need to restore the
selection back to none.  GtkFileChooser, though, doesn't like to
select a NULL file, so call _unselect_all() in that condition.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserbutton.c